import Vue from "vue";
import "./autoRegisterCom.js"; //引入自动注册全局组件
import "./request"; //引入http请求
import { restUrl } from "./restUrl.js";
import {
  getStoarge,
  setStorage,
  removeStorageItem,
  clearStorage,
} from "./storage.js";
import { toFixed, toMoney } from "./money.js";
import { formTime } from "./formTime.js";

Vue.prototype.$resetUrl = restUrl;
Vue.prototype.$getStoarge = getStoarge;
Vue.prototype.$setStorage = setStorage;
Vue.prototype.$removeStorageItem = removeStorageItem;
Vue.prototype.$clearStorage = clearStorage;

Vue.prototype.$toFixed = toFixed;
Vue.prototype.$toMoney = toMoney;

Vue.prototype.$formTime = formTime;
